package com.kongge.viewdisplayframework.page;

import android.app.ActionBar;
import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;
import android.view.MenuItem;
import android.widget.RelativeLayout;

import com.kongge.viewdisplayframeworklib.event.param.EQParam;
import com.kongge.viewdisplayframeworklib.model.NavigateItem;
import com.kongge.viewdisplayframeworklib.ui.Component;
import com.kongge.viewdisplayframeworklib.ui.ComponentContainer;

/**
 * Created by kongge on 2017/11/20.
 * description:
 * layoutid:
 */
public class Test06 extends RelativeLayout implements ComponentContainer, Component {

    public Test06(Context context) {
        super(context);
    }

    public Test06(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public void onPageFinishInflate() {

    }

    @Override
    public void onBackground() {

    }

    @Override
    public void onForeground() {

    }

    @Override
    public void onRemove() {

    }

    @Override
    public void onActivity() {

    }

    @Override
    public void parseRunTimeParam(EQParam param) {
        if (param != null) {
            Object obj = param.getValue();
            if (obj != null) {
                Log.i("testLog", "Test06 get param = " + obj.toString());
            }
        }
    }

    @Override
    public boolean getBottomVisible() {
        return true;
    }

    @Override
    public void onComponentContainerForeground() {

    }

    @Override
    public void onComponentContainerBackground() {

    }

    @Override
    public void onComponentContainerRemove() {

    }

    @Override
    public NavigateItem getTitleStruct() {
        return null;
    }

    @Override
    public boolean onInnerBack() {
        return false;
    }
}
